package com.link.base.base.home.dao.mybatis.mapper;

import com.link.base.base.home.model.HomeReport;

/**
 * @author: unknown
 * created: unknown
 * comments: 查询本周记录
 */
public interface HomeMapper {

    /**
     * 查询本周用户新建线索
     *
     * @param record
     * @return
     * @throws Exception
     */
    public String queryCLueCurentWeekCount(HomeReport record) throws Exception;

    /**
     * 查询本周新建商机数
     *
     * @param record
     * @return
     * @throws Exception
     */
    public String queryOptyCurentWeekCount(HomeReport record) throws Exception;

    /**
     * 查询本周新建客户数
     *
     * @param record
     * @return
     * @throws Exception
     */
    public String queryAccountCurentWeekCount(HomeReport record) throws Exception;

    /**
     * 查询本周新建订单数
     *
     * @param record
     * @return
     * @throws Exception
     */
    public String queryOrderCurentWeekCount(HomeReport record) throws Exception;

    /**
     * 查询本周新建活动数
     *
     * @param record
     * @return
     * @throws Exception
     */
    public String queryActivityCurentWeekCount(HomeReport record) throws Exception;

    /**
     * 查询本周新建工作计划数
     *
     * @param record
     * @return
     * @throws Exception
     */
    public String queryWorkPlanCurentWeekCount(HomeReport record) throws Exception;

    /**
     * 查询所有待办审批数量
     *
     * @return
     * @throws Exception
     */
    public String queryMyFlowCount(HomeReport record) throws Exception;

    /**
     * 查询所有未阅读消息数量
     *
     * @return
     * @throws Exception
     */
    public String queryMyNewsCount(HomeReport record) throws Exception;

    /**
     * 查询所有未阅读公告数量
     *
     * @return
     * @throws Exception
     */
    public String queryMyAnnounceCount(HomeReport record) throws Exception;

    /**
     * 查询所有未完成工作计划数量
     *
     * @return
     * @throws Exception
     */
    public String queryMyWorkPlanCount(HomeReport record) throws Exception;

    /**
     * 查询所有发起未完成
     *
     * @return
     * @throws Exception
     */
    public String queryMyApplyCount(HomeReport record) throws Exception;
}
